// import Request from '@/utils/request-util';
import RequestUtil from '@/utils/request-util';
import Request from '@/utils/request';
   
//   
//    供电管理api
//   
//   @author fengshuonan
//   @date 2021/4/1 16:06
//   
   export class QuotaApi {
   // 获取
   static find(params) {
   return RequestUtil.getAndLoadData('/feathers/quota-process', params);///feathers/后面跟的是自己对应接口名
    }
   //  删
   static delete(id) {
   return Request.delete(`/feathers/quota-process/${id}`);///feathers/后面跟的是自己对应接口名
    }
   // 增
   static add(params) {
   return Request.post('/feathers/quota-process', params);
   }
   // 改
   static edit(id,params) {
   return Request.patch(`/feathers/quota-process/${id}`, params);
   }
 
}